<template>
	<div>
		<GoodsForSF></GoodsForSF>
	</div>
</template>
<script>
	import GoodsForSF from "../GoodsForSF";
	import { getPageTree, initDomTree } from "../../utils/getPageTree";
	import getPageName from "../../utils/getPageName";
	export default {
		data() {
			return {
				
			}
		},
		computed: {
			pageName() {
				return getPageName();
			},
			pageTree() {
				return getPageTree(this);
			},
			pageConfig() {
				return getPageTree(this, this.pageName).config;
			},
			
		},
		methods: {
			
		},
		components: {
			GoodsForSF,
		},
		created() {

		},
		mounted() {
			initDomTree(this.$store.getters.getDomTree[this.pageName]);
		},
		updated() {
			initDomTree(this.$store.getters.getDomTree[this.pageName]);
		},
		beforeRouteLeave(to, from, next) {
			var name = from.name;
			this.$store.commit('cjy/SET_RETURN_POS', name);
			next();
		},
	}
</script>
<style>
</style>